package com.qfedu.mapper;

import com.alibaba.dubbo.config.annotation.Service;
import com.qfedu.entity.AddressEntity;

import java.util.List;


public interface AddressMapper {

    //根据用户ID或地址id查询地址
    public List<AddressEntity> queryaddress(AddressEntity ae);
    //添加地址
    public boolean addaddress(AddressEntity ae);
    //删除地址
    public boolean deladdress(String aid);
    //修改地址
    public boolean updaddress(AddressEntity ae);
    //查询单个
    public AddressEntity queryad(String aid);


}
